package com.lujieni.dbsharding.simple.po;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_base_district")
public class DistrictPO {

    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 区域名称
     */
    private String name;

    @Column(name = "is_active")
    private Integer active;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }
}

